package com.huatai.manage.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.huatai.manage.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 模型表;
 * </p>
 *
 * @author luoxc
 * @since 2023-03-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_trial_model")
@ApiModel(value="TbTrialModel对象", description="模型表;")
public class TbTrialModelEntity extends BaseEntity {

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "模型id")
    private String modelId;

    @ApiModelProperty(value = "模型类型", required = true)
    @NotBlank(message = "模型类型不能为空！")
	private String modelType;

    @ApiModelProperty(value = "模型名称", required = true)
    @NotBlank(message = "模型名称不能为空！")
	private String modelName;

    @ApiModelProperty(value = "模型地址", required = true)
    @NotBlank(message = "模型地址不能为空！")
	private String modelUrl;

	@ApiModelProperty(value = "模型照片", required = true)
	private String modelImg;

    @ApiModelProperty(value = "供应商", required = true)
    @NotBlank(message = "供应商不能为空！")
	private String firmId;

	@ApiModelProperty(value = "数据供应商")
	private String dataProvider;

	@ApiModelProperty(value = "备注")
	private String remark;

	@ApiModelProperty(value = "状态")
	private String state = "1";


}
